package com.app.partner.service;

import com.app.partner.mapper.UserMapper;
import com.app.partner.mapper.yxMapper;
import com.app.partner.model.User;
import com.app.partner.model.yx;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;
import org.springframework.transaction.annotation.EnableTransactionManagement;

import java.util.List;

@Service("yxServiceImpl")
@EnableTransactionManagement
public class yxServiceImpl implements yxService{
    @Autowired
    private yxMapper yxMapper;


    @Override
    public List <yx> findAll() throws Exception {
        return yxMapper.findAll();
    }
}
